package com.itstyle.seckill.topic.redis.Iservice;

import com.itstyle.seckill.topic.redis.bean.InventoryProduct;

/**
 * @Auther: liuwenxiang
 * @Date: 2020/2/23 18:07
 * @Description:
 */
public interface InventoryProductBiz {


    void updateInventoryProduct(InventoryProduct inventoryProduct);

    InventoryProduct loadInventoryProductByProductId(Integer productId);

    void setInventoryProductCache(InventoryProduct inventoryProduct);

    void removeInventoryProductCache(Integer productId);

    InventoryProduct loadInventoryProductCache(Integer productId);
}
